// 轮播图
var mySwiper = new Swiper('.swiper1', {
    spaceBetween: 30,
    centeredSlides: true,
    loop:true,
    autoplay: {
        delay: 2500,
        disableOnInteraction: false,
    }, // 循环模式选项

    // 如果需要分页器
    pagination: {
        el: '.swiper-pagination',
    },

    // 如果需要前进后退按钮
    navigation: {
        nextEl: '.swiper-button-next',
        prevEl: '.swiper-button-prev',
    },
})      

// 效果图轮播
var swiper2 = new Swiper('.swiper2', {
    slidesPerView: 4,
    loop:true,
    autoplay: {
        delay: 1000,
        disableOnInteraction: false,
    },
    paginationClickable: true,
    spaceBetween: 30,
});


//装修日记用户切换
var users=$(".users>img");
	users.click(function () {
		users.css('border','2px solid #cccccc');
		users.css('opacity','0.7');
		$(this).css('border','2px solid #fca806');
		$(this).css('opacity','1');
    });
    
// 点击装修公司模块跳转到公司列表页
$('.Company').click(function () {
    location.href='./fc-decorationCompany.html';
});